package com.lighting.smssystem.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * Author LeeMaster
 *
 * 记录用户短信条数使用数量等信息
 *
 * drop table if exists record_tbl;
 * -- 短信记录表
 * create table record_tbl (
 *   record_id bigint primary key auto_increment,
 *   record_time timestamp not null default current_timestamp,
 *   record_user bigint not null ,
 *   record_template bigint not null ,
 *   record_company bigint not null ,
 *   record_content text not null
 * );
 */
@Data
@TableName("record_tbl")
public class SmsRecord {

    private Long recordId;

    private Date recordTime;

    private Long recordUser;

    private Long recordTemplate;

    private Long recordCompany;

    private String recordText;

}
